package com.itheima.health.dao;

import com.itheima.health.pojo.Member;

/**
 * 会员DAO
 */
public interface MemberDao {


    Member getMember(String telephone);

    void addMember(Member member);

    Integer getMemberIdByPhoneNumber(String phoneNumber);

    Member getMemberById(Integer memberId);


    Integer getCountNewMember(String time);

    Integer getCountTotalMember();

    Integer getCountWeekNewMember();

    Integer getCountMonthNewMember();

    Integer getCountTotalMembers();

    Integer getCountMonthMember(String yearMonth);

    void updateMember(Member member);
}
